package com.example.service;

import com.example.pojo.CodeTale;
import net.rubyeye.xmemcached.exception.MemcachedException;

import java.util.concurrent.TimeoutException;

public interface MemcachedCodeService {
    String sendUserCode(String tela) throws InterruptedException, TimeoutException, MemcachedException;

    boolean checkCode(CodeTale codeTale) throws InterruptedException, TimeoutException, MemcachedException;
}
